package cn.chenhongchao.zhaobiaopingtai.entity;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

public class Category implements Serializable {
    private Long categorynameIndex;

    private String categoryname;

    private Long servecategorynameIndex;

    private static final long serialVersionUID = 1L;

    public Long getCategorynameIndex() {
        return categorynameIndex;
    }

    public void setCategorynameIndex(Long categorynameIndex) {
        this.categorynameIndex = categorynameIndex;
    }

    public String getCategoryname() {
        return categoryname;
    }

    public void setCategoryname(String categoryname) {
        this.categoryname = categoryname == null ? null : categoryname.trim();
    }

    public Long getServecategorynameIndex() {
        return servecategorynameIndex;
    }

    public void setServecategorynameIndex(Long servecategorynameIndex) {
        this.servecategorynameIndex = servecategorynameIndex;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", categorynameIndex=").append(categorynameIndex);
        sb.append(", categoryname=").append(categoryname);
        sb.append(", servecategorynameIndex=").append(servecategorynameIndex);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}